{% extends 'base.html' %}
{% block body %}
    <div>        
    {% if projects.count %}
    <ul class="list">
        {% for project in projects %}
        <li id="project.key">
            <h2><a href="/projects/{{project.key}}/">{{project.name}}</a></h2>
            <ul class="committers">
                {% for committer in project.committers %}
                    <li>
                        <a class="committer" title="{{committer.name}}" href="/people/{{committer.key}}/"><img width="40" height="40" title="{{committer.name}}" src="{{committer.gravatar}}"></a>
                    </li>
                {% endfor %}
                <br style="clear:both;">
            </ul>
            <p>{{project.num_tickets}} Tickets, {{project.milestones.count}} Milestones</p>
            <p class="description"></p>
            <hr>
        </li>
        {% endfor %}
    </ul>
    {% else %}
    <p><em>No projects.</em></p>
    {% endif %}
    <ul class="actions">
        <li><a href="/projects/create/">add project</a></li>
        <br>
    </ul>
</div>
{% endblock body %}